#include "parseinputdata.h"
#include <string>
#include <sstream>
#include <vector>
using namespace std;

void parseLine2Nums(string line, vector<int>& ary, const char split)
{
    istringstream iss(line);
    string buf;
    while(getline(iss, buf, split))
    {
        ary.push_back(stoi(buf));
    }
}
